Pronamic\WordPress\Pay\Core\Gateway S

Total Complexity 35
Dependencies 10
Dependents 7
Total lines 357
Lines of code 122
Logical lines of code 61
Comment lines 172
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
get_transient_available_payment_methods()
S
57 6 17
first_payment_method_field()
S
61 4 13
get_form_html()
S
56 3 20
redirect()
S
63 3 12
redirect_via_http()
S
63 3 11
redirect_via_html()
S
65 2 9
start()
S
91 1 2
get_output_html()
S
76 1 4
get_output_fields()
S
82 1 3
create_refund()
S
80 1 3
__construct()
S
80 1 3
register_payment_method()
S
81 1 3
get_available_payment_methods()
S
82 1 3
payment_redirect()
S
91 1 2
is_html_form()
S
80 1 3
is_http_redirect()
S
80 1 3
set_method()
S
81 1 3
get_payment_methods()
S
80 1 3
get_payment_method()
S
80 1 3
update_status()
S
91 1 2